/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package util;

import java.security.Key;
import java.security.NoSuchAlgorithmException;
import javax.crypto.Cipher;
import javax.crypto.NoSuchPaddingException;

/**
 *
 * @author Le Thai
 */
public class MaHoaAes {
    private static final String SECRET_KEY="HUTECH";
    public static String MaHoa(String nguon) throws NoSuchAlgorithmException, NoSuchPaddingException{
        String dich="";
        try {
            Cipher aesCipher = Cipher.getInstance("AES");
//            aesCipher.init(Cipher.ENCRYPT_MODE, (Key)SECRET_KEY);
        } catch (NoSuchAlgorithmException ex) {
        }
        
        return dich;
    }
}
